@import './color.less';
//头部海报
.top-poster{
    width: 100%;
    overflow: hidden;
    img{
        width: 100%;
        vertical-align:bottom;
    }
}
//规则
.activeRule{
        margin: 0px 4% 40px;
        overflow: hidden;
        p{
            color: #fff;
            line-height: 24px;
            padding-left: 30px;
            position: relative;
            margin-bottom: 10px;
            span{
                position: absolute;
                left: 0;
                top: 0;
                display:block;
                height: 24px;
                width: 2em;
            }
        }
    }
//弹窗
    //弹窗背景
    #alertBg{
        display: none;   
    }
    //重复投票内容
    #alertBody{
        display: none;
    }
    //投满5票内容
    #alertInviteBody{
       display:none;
    }
    //第6.7.8..次投票内容
    #noVoteBody{
        display: none;
    }
    //报名页重复投票弹窗
    #alertBody{
        display: none;
    }
    //报名页加载时判断关注二维码
    #onloadAlert{
       display: none;
    }
    //助力页面弹窗
    #shareAlertBody{
        display: none;
    }
    #alertBg{
        z-index: 1000;
        position: fixed;
        width: 100%;
        height: 100%;
        top:0;
        left: 0;
        background: rgba(0,0,0,.5);  
    }
    
.alertBody{z-index: 1005;position: fixed;top: 20%;left: 17%;width: 66%;height:40%;background: #fff;border-radius: 8px;overflow: hidden;
    .closeVote{display: block;width: 70%;height: 32px;border-radius: 8px;background: #fb9500;text-align: center;line-height: 32px;color: #fff;position: absolute;bottom: 20%;left: 15%;font-size: 14px;}
    //首页重复投票弹窗样式
    .indexVote{width: 100%;height: 74%;overflow: hidden;padding-top: 25%;
        p{height: 40px;line-height: 40px;text-align: center;color: @activeTitleColor;}
    }
    //报名页面的重复投票弹窗
    .applyVote{width: 100%;height: 100%;overflow: hidden;padding-top: 60px;
        p{height: 40px;line-height: 40px;text-align: center;color: @activeTitleColor;}
    }
}
//领书按钮弹窗
.voteVote{
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-top: 60px;
    p{
        height: 40px;
        line-height: 40px;
        text-align: center;
        color: @activeTitleColor;
    }
}
//规则弹窗
.voteRule{
    display: none;
    position: fixed;
    overflow: hidden;
    top: 16%;
    left: 0%;
    z-index: 10010;
    text-align: center;
    img{
        width: 90%;
    }
    &-btn{
        position: absolute;
        width: 50%;
        display: block;
        height: 46px;
        top: 80%;
        z-index: 1300;
        left: 24%;
        padding-top: 1px;
        img{
            width: 90%;
        }
    }
} 
//助力页面二维码
.shareAlertBody{
    position: fixed;
    top: 20%;
    width: 70%;
    height: 50%;
    z-index: 1001;
    background: #fff;
    left: 15%;
    border-radius: 8px;
    overflow: hidden;
    p{
        position: absolute;
        text-align: center;
        width: 100%;
        height: 30px;
        line-height: 30px;
        bottom:10%;
        left: 0%;
        z-index: 1002;
    }
    img{
        position: absolute;
        width: 60%;
        margin: 20% 20% 73%;
        left: 0;
        top: 0;
        z-index: 2005;
    }
    
    
}
//报名页面加载时二维码
.onloadAlert{
    position: fixed;
    top: 20%;
    width: 70%;
    height: 50%;
    z-index: 1001;
    background: #fff;
    left: 15%;
    border-radius: 8px;
    overflow: hidden;
    p{
        position: absolute;
        text-align: center;
        width: 100%;
        height: 30px;
        line-height: 30px;
        bottom:10%;
        left: 0%;
        z-index: 1002;
    }
    img{
        position: absolute;
        width: 60%;
        margin: 20% 20% 73%;
        left: 0;
        top: 0;
        z-index: 2005;
    }
    
    
}

//投票提示窗
#voteAlertBody{
    display: none;
}
.voteAlertBody{
    z-index: 1005;
    position: fixed;
    top: 20%;
    left: 17%;
    width: 66%;
    height: 35%;
    background: #fff;
    border-radius: 8px;
    h1{
        margin-top: 15%;
    }
    p{
      font-size: 14px;
        text-align: center;
        margin-top: 10px; 
    }
    .closeVote{
        display: block;
        width: 70%;
        height: 32px;
        border-radius: 8px;
        background: #fb9500;
        text-align: center;
        line-height: 32px;
        color: #fff;
        position: absolute;
        bottom: 20%;
        left: 15%;
        font-size: 14px;
    }
}
//投第5票提示窗
.alertInviteBody{
    z-index: 1005;
    position: fixed;
    top: 20%;
    left: 17%;
    width: 66%;
    height: 40%;
    background: #fff;
    border-radius: 8px;
    h1{
        margin-top: 15%;
    }
    p{
          font-size: 14px;
        text-align: center;
        margin-top: 10px;
        height: 30px;
        line-height: 30px; 
    }
    .closeVote{
        display: block;
        width: 70%;
        height: 32px;
        border-radius: 8px;
        background: #fb9500;
        text-align: center;
        line-height: 32px;
        color: #fff;
        position: absolute;
        bottom: 20%;
        left: 15%;
        font-size: 14px;
    }
    .closeALertVote{
        display: block;
        width: 70%;
        height: 32px;
        border-radius: 8px;
        background: #969696;
        text-align: center;
        line-height: 32px;
        color: #fff;
        position: absolute;
        bottom: 10%;
        left: 15%;
        font-size: 14px;
    }
}
//没有票数候投票提示
.noVoteBody{
    z-index: 1005;
    position: fixed;
    top: 20%;
    left: 17%;
    width: 66%;
    height: 55%;
    background: #fff;
    border-radius: 8px;
    h1{
        margin-top: 15%;
    }
    p{
      font-size: 14px;
        text-align: center;
        margin-top: 10px; 
    }
    .closeVote{
        display: block;
        width: 70%;
        height: 32px;
        border-radius: 8px;
        background: #fb9500;
        text-align: center;
        line-height: 32px;
        color: #fff;
        position: absolute;
        bottom: 20%;
        left: 15%;
        font-size: 14px;
    }
    .closeALertVote{
        display: block;
        width: 70%;
        height: 32px;
        border-radius: 8px;
        background: #969696;
        text-align: center;
        line-height: 32px;
        color: #fff;
        position: absolute;
        bottom: 10%;
        left: 15%;
        font-size: 14px;
    }
}
//搜索不存在用户提示
#searchAlertBody{
    display: none;
}
.searchAlertBody{
    z-index: 1005;
    position: fixed;
    top: 20%;
    left: 17%;
    width: 66%;
    height: 35%;
    background: #fff;
    border-radius: 4px;
    p{
        text-align: center;
        line-height: 2rem;
    }
    h1{
        margin-top: 15%;
    }
    .closeVote{
        display: block;
        width: 70%;
        height: 32px;
        border-radius: 8px;
        background: #fb9500;
        text-align: center;
        line-height: 32px;
        color: #fff;
        position: absolute;
        bottom: 20%;
        left: 15%;
        font-size: 14px;
    }
}
//活动倒计时
.activeCountdown{
    overflow: hidden;
    width: 100%;
    height: 36px;
    display: flex;
    background: @activeTitleColor;
    .laba{
        display: block;
        width: 50px;
        height: 100%;
        background: url(../images/speaker.png) no-repeat center center;
        float: left;
        background-size: 30px;
    }
    p{ 
       flex: 1;
       color: #fff;
       position: relative;
       .scrollText{
           position: absolute;
           display: block;
//         width: 100%;
           height: 36px;
           left: 1px;
           top: 0;
           line-height: 36px;
           font-size: 14px; 
           background: none;
           overflow: hidden; 
       }
       
    }
}
//活动大标题
.activeTitle{
    position: relative;
    width: 100%;
    height: 40px;
    &:before{
        display: block;
        content: "";
        width: 100%;
        height: 1px;
        background: @activeTitleLine;
        position: absolute;
        top: 45%;
        left: 0;
    }
    
    h3{
     position: absolute;
     width: 30%;
     left: 35%;
     top: 0; 
     background:@bodyColor;
     text-align: center;
     font-weight: normal;
     color: #000;  
     line-height: 40px;
    }
    h3:before{
            content: "";
    display: block;
    width: 5px;
    height: 5px;
    top: 41%;
    left: 0;
    background: @activeTitleLine;
    border-radius: 50%;
    position: absolute;
    }
    h3:after{
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    top: 41%;
    right: 0;
    background: @activeTitleLine;
    border-radius: 50%;
    position: absolute;
    }
    
}
//活动时间
.activeTime{
    width: 100%;
    height: 40px;
    text-align: center;
    overflow: hidden;
    p{
        text-align: center;
        color:#ff4848;
        line-height: 40px;
    }
}
//搜索框
.activeSeach{
    overflow: hidden;
    height: 30px;
    padding: 10px 4%;
    &-left{
        width: 78%;
        float: left;
        border-radius: 4px;
        input{
            width: 100%;
            height: 30px;
            background: #fff;
            color: @bodyColor;
            border: none;
            outline: none;
            border-radius: 4px;
            text-indent: 1em;
            border: 1px solid #42979b;
        }
    }
    &-right{
        display: block;
        width: 20%;
        float: right;
        height: 30px;
        border-radius: 4px;
        background:#fff url(../images/search.png) no-repeat center center;
        background-size: 30%;
        border: 1px solid #42979b;
    }
}
//活动奖励
.activePrize{
    margin: 0px 4% 30px;
    overflow: hidden;
    padding-top:40px;
    .firstPrize{
        width: 100%;
        border: 1px solid #10184f;
        position: relative;
        border-radius: 8px;
        background: #fff;
        .sortPrizeTitleBg{
            z-index: 205;
            display: block;
            position: absolute;
            width: 100%;
            height: 80px;
            left: 0%;
            top: -40px;
            background: url(../images/prizeBg-01.png) no-repeat center center;
            background-size: 50%;
        }
        &-left{
            margin-top: 20px;
            width: 94%;
            padding: 10px 3% 0;
            img{
                width: 100%;
                border-radius: 4px;
            }
        }
        &-right{
            width: 96%;
            padding: 0px 3% 4px;
            p{
                text-align: center;
                height: 24px;
                line-height: 24px;
                span{
                    color:#ffa648;
                }
            }
        }
    }
    .restPrize{
        width: 100%;
        div{
            margin-top: 20px;
            width: 48%;
            border: 1px solid #10184f;
            text-align: center;
            height: 148px;
            position: relative;
            border-radius: 8px;
            background: #fff;
            img{
                width: 40%;
                margin-top: 20px;
            }
            p{
                height: 24px;
                line-height: 24px;
                text-align: center;
            }
        }
    }
    .secondPrize{
        .sortPrizeTitleBg2{
            z-index: 205;
            display: block;
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0%;
            top: -50%;
            background: url(../images/prizeBg-02.png) no-repeat center center;
            background-size: 60%;
        }
        float: left;
    }
    .threePrize{
        float: right;
        .sortPrizeTitleBg3{
            z-index: 205;
            display: block;
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0%;
            top: -50%;
            background: url(../images/prizeBg-03.png) no-repeat center center;
            background-size: 60%;
        }
    }
    &-dis{
        font-size: 12px;
        color: @auxiliaryColor;
    }
}
//底部切换标签
.footerTab{
    position: fixed;
    z-index: 995;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    background:#f3f3f3; /* 一些不支持背景渐变的浏览器 */  
    background:-moz-linear-gradient(top,#fff, #f3f3f3);  
    background:-webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#f3f3f3));  
    background:-o-linear-gradient(top, #fff, #f3f3f3); 
    border-top: 1px solid #e8e8e8;
    ul{
        list-style: none;
        display: flex;
        li{
            flex: 1;
            text-align: center;
            
            line-height: 40px;
            text-indent:1em;
        }
        a{  
            display: block;
            width: 100%;
            height: 100%;
            text-decoration: none;
            color:@tabColor;
        }
        .active{
            a{
                color: @auxiliaryColor;
            }
        }
        .hometab{
            background: url(../images/home.png) no-repeat 20% center;background-size: 20%;
        }
        .sorttab{
            background: url(../images/sort.png) no-repeat 20% center;background-size: 20%;
        }
        .votetab{
            background: url(../images/vote.png) no-repeat 10% center;background-size: 20%;
        }
        .applytab{
            background: url(../images/apply.png) no-repeat 20% center;background-size: 20%;
        }
        .home-on{
            background: url(../images/home-on.png) no-repeat 20% center;background-size: 20%;
        }
        .sort-on{
            background: url(../images/sort-on.png) no-repeat 20% center;background-size: 20%;
        }
        .apply-on{
            background: url(../images/apply-on.png) no-repeat 20% center;background-size: 20%;
        }
        .vote-on{
            background: url(../images/vote-on.png) no-repeat 10% center;background-size: 20%;
        }
    }
    
}
